import request from '@/utils/request'

export function appErModelList(params) {
    return request({
      url: '/app/appErModel/list',
      method: 'get',
      params: params
    })
  }

  export function appErModelDetail(id) {
    return request({
      url: `/app/appErModel/${id}`,
      method: 'get',
    })
  }
  
  export function appErModelAdd(data) {
    return request({
      url: `/app/appErModel`,
      method: 'post',
      data
    })
  }
  export function appErModelUpdate(data) {
    return request({
      url: `/app/appErModel`,
      method: 'put',
      data
    })
  }
  export function appErModelDelete(ids) {
    return request({
      url: `/app/appErModel/${ids}`,
      method: 'delete',
    })
  }
  
  